package com.bear.pk.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Builder;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author pk
 * @since 2020-11-27
 */
@Data
//@EqualsAndHashCode(callSuper = false)
public class Users implements Serializable {

    //private static final long serialVersionUID = 1L;

    //@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String username;

    private String email;

    private String password;

    @TableField(exist = false)
    private List<Roles> roles;

    private Date createdAt;

    private Date updatedAt;


}
